package com.foreknow.service.impl;

import com.foreknow.dao.ConstantTypeMapper;
import com.foreknow.entity.ConstantType;
import com.foreknow.service.ContantTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ContantServiceImpl implements ContantTypeService {
    @Autowired
    private ConstantTypeMapper constantTypeMapper;
    @Override
    public List<ConstantType> findallConstant() {
        return constantTypeMapper.findall();
    }
}
